-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes Service Discovery Custom Settings #313
Conversation
…can create different settings based on config path - Added "Settings" object to KubernetesApiServiceDiscovery constructor so that users are able to provide their different settings for discovery
discovery-kubernetes-api/src/main/scala/org/apache/pekko/discovery/kubernetes/Settings.scala
Outdated
Show resolved
Hide resolved
...api/src/main/scala/org/apache/pekko/discovery/kubernetes/KubernetesApiServiceDiscovery.scala
Outdated
Show resolved
Hide resolved
...api/src/main/scala/org/apache/pekko/discovery/kubernetes/KubernetesApiServiceDiscovery.scala
Outdated
Show resolved
Hide resolved
discovery-kubernetes-api/src/main/scala/org/apache/pekko/discovery/kubernetes/Settings.scala
Outdated
Show resolved
Hide resolved
...api/src/main/scala/org/apache/pekko/discovery/kubernetes/KubernetesApiServiceDiscovery.scala
Show resolved
Hide resolved
I'm ok with merging this if other reviewers are happy to proceed. |
(failure is #216 again) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
Settings
being an Extension
still looks a bit strange to me, but that's not introduced in this PR, so fine to leave that as-is.
@Roiocam did you want to do a re-review or are we OK to (Squash and) merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@pjfanning @raboof can we merge this? |
Yes, thanks! This change will likely be released with Pekko Management 1.1.0. This release is not yet planned, and we have some other releases still in the pipeline before this one, so it's hard to predict a timeline. If you want to try this feature early, you can use a development snapshot (https://repository.apache.org/content/repositories/snapshots/org/apache/pekko/) at your own risk. |
Closes #311
Added configNamespace in Kubernetes settings object, so that users can create different settings based on config path
Added "Settings" object to KubernetesApiServiceDiscovery constructor so that users are able to provide their different settings for discovery